(read_avail_input): Args to `kill' were backwards.
authorRichard M. Stallman <rms@gnu.org>
Tue, 23 Feb 1993 18:49:33 +0000 (18:49 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 23 Feb 1993 18:49:33 +0000 (18:49 +0000)
src/keyboard.c

index 42afeb3f0d081d0e72fd1fd9079e6b3f44240839..d17390433ed723efb32b2bcb76cea5ef28fe514e 100644 (file)
@@ -2545,6 +2545,9 @@ read_avail_input (expected)
        /* Formerly simply reported no input, but that sometimes led to
           a failure of Emacs to terminate.
           SIGHUP seems appropriate if we can't reach the terminal.  */
+       /* ??? Is it really right to send the signal just to this process
+          rather than to the whole process group?
+          Perhaps on systems with FIONREAD Emacs is alone in its group.  */
        kill (getpid (), SIGHUP);
       if (nread == 0)
        return 0;